package cn.ygyg.bps.bus.starter.repository;

import java.util.List;
import java.util.Map;

/**
 * @desc：TraceRepository
 * @author: guanliang.xue
 * @date: 2021/5/10 17:35
 * @version:
 * @since:
 */
public interface BpsBusEventTraceRepository {
    /**
     * 获取所有trace
     * @return the results
     */
    List<Map<String,Object>> findAll();

    /**
     * Adds a trace to the repository.
     * @param trace the trace to add
     */
    void add(Map<String,Object> trace);
}
